package com.jhh.pay.center.service;

import com.jhh.pay.center.model.AppChannel;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/5
 */
public interface AppChannelService {
    boolean save(AppChannel ac);

    boolean update(AppChannel ac);

    boolean delete(int appId, int channelId);

    AppChannel get(int appId, int channelId);

    Collection<AppChannel> getsByAppId(int appId);

    Collection<AppChannel> getsByChannelId(int channelId);
}
